package edu.mtu.citizenscience.mushroommapper.json.mushroomnames;

/**
 * @author Corbin Uselton <corbinu@cwuselto@mtu.edu>
 * @copyright (c) 2012 MichiganTech <http://www.mtu.edu>
 * @since 1.0
 * 
 * Mushroom family in the mushroom data file
 */
public class Family {
	// the mushroom family name
	private String name;
	// the mushroom genera of this family
	private Genus[] genera;
	
	/**
	 * Get the family name
	 * 
	 * @param   void
	 * @return	String - the family name
	 */
	public String getName() 
	{
		return name;
	}
	
	/**
	 * Set the family name
	 * 
	 * @param   String - the family name
	 * @return	void
	 */
	public void setName(String name) 
	{
		this.name = name;
	}
	
	/**
	 * Get the family genera
	 * 
	 * @param   void
	 * @return	Genus[] - the family genera
	 */
	public Genus[] getGenera() 
	{
		return genera;
	}
	
	/**
	 * Set the family genera
	 * 
	 * @param   Genus[] - the family genera
	 * @return	void
	 */
	public void setGenera(Genus[] genera) 
	{
		this.genera = genera;
	}
	
}
